package com.xnyzc.lhy.didi.service.impl.xiecheng;

import java.util.concurrent.Callable;

public class TestCallable implements Callable {
    private String p1;

    public TestCallable(String param){
        this.p1=param;
    }
    /**
     * Computes a result, or throws an exception if unable to do so.
     *
     * @return computed result
     * @throws Exception if unable to compute a result
     */
    @Override
    public Object call() throws Exception {
        return p1+"c";
    }
}
